//
// Created on 2024/3/18.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef OHOS_TOUCHEVENTHANDLER_H
#define OHOS_TOUCHEVENTHANDLER_H
#include "napi/input/InputHandler.h"
class TouchEventHandler{
    public:
        /**--------------------touch event callback回调-----------------------**/
        virtual void dispatchTouchEvent(TouchTracker *event) = 0;
        virtual void dispatchTabEvent(TapTracker *event) = 0;
        static  TouchEventHandler* getInstance(){
            return instance;
        }
    protected:
        static TouchEventHandler* instance;
};
#endif //OHOS_TOUCHEVENTHANDLER_H
